package com.meituan.sdk.model.ddzhkh.generalreserve.generalreserveQueryshopalltechinfo;

import com.meituan.sdk.annotations.ApiMeta;
import com.google.gson.reflect.TypeToken;
import javax.validation.constraints.NotBlank;
import java.lang.reflect.Type;
import com.meituan.sdk.internal.utils.JsonUtil;
import com.google.gson.annotations.SerializedName;
import javax.validation.constraints.NotNull;
import com.meituan.sdk.MeituanResponse;
import com.meituan.sdk.MeituanRequest;

/**
* 获取商户下的手艺人
* This file was automatically generated.
*/
@ApiMeta(
    path = "/ddzhkh/generalreserve/queryshopalltechinfo",
    businessId = 59,
    apiVersion = "10015",
    apiName = "generalreserve_queryshopalltechinfo",
    needAuth = true
)
public class GeneralreserveQueryshopalltechinfoRequest implements MeituanRequest<GeneralreserveQueryshopalltechinfoResponse> {
    /**
    * <p data-diff-id="ct-diff-id-6d2acccc-f1e3-4cb0-9e9f-f7b5881114f4"><span style="color: ">当前页</span></p>
    */
    @NotNull(message = "page不能为空")
    @SerializedName("page")
    private Integer page;
    /**
    * <p data-diff-id="ct-diff-id-d645cd3f-2f4e-403d-94d6-da91e28df552"><span style="color: ">每页条数</span></p>
    */
    @NotNull(message = "pageSize不能为空")
    @SerializedName("pageSize")
    private Integer pageSize;
    /**
    * <p data-diff-id="ct-diff-id-d4a0a59e-42de-4c9f-9140-ae5963484338"><span style="color: ">门店ID。</span><span style="color: rgba(0, 0, 0, 0.87)">该字段是混淆字段，实际值类型为混淆后的字符串类型。</span></p>
    */
    @NotBlank(message = "opPoiId不能为空")
    @SerializedName("opPoiId")
    private String opPoiId;

    public Integer getPage() {
        return page;
    }
    public void setPage(Integer page) {
        this.page = page;
    }
    public Integer getPageSize() {
        return pageSize;
    }
    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
    public String getOpPoiId() {
        return opPoiId;
    }
    public void setOpPoiId(String opPoiId) {
        this.opPoiId = opPoiId;
    }


    @Override
    public MeituanResponse<GeneralreserveQueryshopalltechinfoResponse> deserializeResponse(String response) {
        Type type = new TypeToken<MeituanResponse<GeneralreserveQueryshopalltechinfoResponse>>(){}.getType();
        return JsonUtil.fromJson(response, type);
    }
    @Override
    public String serializeToJson() {
        return JsonUtil.toJson(this);
    }


    @Override
    public String toString() {
        return "GeneralreserveQueryshopalltechinfoRequest{" + "page=" + page + "," + "pageSize=" + pageSize + "," + "opPoiId=" + opPoiId + "}";
    }
}
